//
//  ZJSCLabelView.m
//  ShangHaiHuDongApp
//
//  Created by ZJ on 2017/6/14.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import "ZJSCLabelView.h"

@implementation ZJSCLabelView

- (instancetype)initWithFrame:(CGRect)frame title:(NSString *)title
{
    self = [super initWithFrame:frame title:title];
    if (self) {
        [self addSubview:self.contentLabel];
        
        
    }
    return self;
}





- (UILabel *)contentLabel{
    if (_contentLabel == nil){
        _contentLabel = [[UILabel alloc] initWithFrame:CGRectMake(self.titleLabel.right + 5 * [UIScreen zj_screenWScale], 0, self.width - self.titleLabel.right - (12 + 5) * [UIScreen zj_screenWScale], self.titleLabel.height)];
        _contentLabel.textColor = [UIColor textBlackColor];
        _contentLabel.font = [UIFont titleTextFont];
    }
    return _contentLabel;
}

@end
